package com.zhn.evsi.domain.dto.evsi.contract;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
public class EvsiContractsDTO {

    private Integer reward;// 奖励金

    private String end_location_id;

    private String issuer_corporation_id;

    private Long contract_id;

    private Integer days_to_complete;// 完成天数

    private String availability;

    private String title;

    private String type;

    private Date date_expired;

    private String start_location_id;

    private Integer volume;

    private Long issuer_id;

    private Date date_accepted;

    private Long acceptor_id;

    private Date date_issued;

    private Double price;

    private Date date_completed;

    private Boolean for_corporation;

    private Double collateral; //抵押

    private Long assignee_id;

    private String status;

    private List<EvsiContractsItemsDTO> contractsItemsDTOS;
}
